package com.group.library.order.entity;

/**
 * Author: Lai
 * Email：aYong1324@163.com
 * Time：2022年5月11日23:30:20
 * Description：用户基本信息类
 */

public class User {

    private String userId;

    private String name;

    private int sex;

    private String phone;

    private String number;

    private String university;

    private String faculty;

    private String major;

    private String grade;

    private String iconPath;

    private String entranceYear;

    private String graduateYear;

    private int credit;

    private boolean toOrder;//用户预约权限

    private int lateCount;

    private int absentCount;

    private int leaveEarlyCount;

    private int cancelCount;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUniversity() {
        return university;
    }

    public void setUniversity(String university) {
        this.university = university;
    }

    public String getFaculty() {
        return faculty;
    }

    public void setFaculty(String faculty) {
        this.faculty = faculty;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    public String getEntranceYear() {
        return entranceYear;
    }

    public void setEntranceYear(String entranceYear) {
        this.entranceYear = entranceYear;
    }

    public String getGraduateYear() {
        return graduateYear;
    }

    public void setGraduateYear(String graduateYear) {
        this.graduateYear = graduateYear;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public boolean isToOrder() {
        return toOrder;
    }

    public void setToOrder(boolean toOrder) {
        this.toOrder = toOrder;
    }

    public int getLateCount() {
        return lateCount;
    }

    public void setLateCount(int lateCount) {
        this.lateCount = lateCount;
    }

    public int getAbsentCount() {
        return absentCount;
    }

    public void setAbsentCount(int absentCount) {
        this.absentCount = absentCount;
    }

    public int getLeaveEarlyCount() {
        return leaveEarlyCount;
    }

    public void setLeaveEarlyCount(int leaveEarlyCount) {
        this.leaveEarlyCount = leaveEarlyCount;
    }

    public int getCancelCount() {
        return cancelCount;
    }

    public void setCancelCount(int cancelCount) {
        this.cancelCount = cancelCount;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", phone='" + phone + '\'' +
                ", number='" + number + '\'' +
                ", university='" + university + '\'' +
                ", faculty='" + faculty + '\'' +
                ", major='" + major + '\'' +
                ", grade='" + grade + '\'' +
                ", iconPath='" + iconPath + '\'' +
                ", entranceYear='" + entranceYear + '\'' +
                ", graduateYear='" + graduateYear + '\'' +
                ", credit=" + credit +
                ", toOrder=" + toOrder +
                ", lateCount=" + lateCount +
                ", absentCount=" + absentCount +
                ", leaveEarlyCount=" + leaveEarlyCount +
                ", cancelCount=" + cancelCount +
                '}';
    }
}
